package xyz.chenyongpeng.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import xyz.chenyongpeng.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 资源分类
 * </p>
 *
 * @author chenyongpeng
 * @since 2018-12-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="ZsResourceCategory对象", description="资源分类")
public class ZsResourceCategory extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源分类主键")
    @TableId(value = "rc_id", type = IdType.AUTO)
    private Integer rcId;

    @ApiModelProperty(value = "分类名称")
    private String rcTitle;

    @ApiModelProperty(value = "1删除，0没删")
    private Boolean isDelete;

    @ApiModelProperty(value = "后台排序")
    private Integer sort;


}
